﻿using Basic.Traceability.ErrorCode;
using MediatR;

namespace Basic.Traceability.Host.Api.Write.Application.Command.Slaughter.SlaughterInformation
{
    public class CreateSlaughterInformationCommand:IRequest<APIResult<int>>
    {
        /// <summary>
        ///  产品Id
        /// </summary>
        public long ProductsId { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string Batch { get; set; }
        /// <summary>
        /// 到厂均重
        /// </summary>
        public int AverageWeight { get; set; }
        /// <summary>
        /// 到场时间
        /// </summary>
        public DateTime ToFactoryDateTime { get; set; }
        /// <summary>
        /// 屠宰时间
        /// </summary>
        public DateTime SlaughterDateTime { get; set; }
        /// <summary>
        /// 相关资质
        /// </summary>
        public string RelatedQualifications { get; set; }
    }
}
